package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

public class DeviceDetail extends BasePojo {
    // 设备明细ID
    private Integer deviceDetailId;
    // 设备ID
    private Integer deviceId;
    // 设备明细名称
    private String eviceDetailName;
    // 开始时间
    @JsonFormat(pattern = "HH:mm:ss")
    private String startDate;
    // 结束时间
    @JsonFormat(pattern = "HH:mm:ss")
    private String endDate;
    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    // 修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    // 备注
    private String remark;
    // 数据状态
    private Integer dataState;

    public Integer getDeviceDetailId() {
        return deviceDetailId;
    }

    public void setDeviceDetailId(Integer deviceDetailId) {
        this.deviceDetailId = deviceDetailId;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getEviceDetailName() {
        return eviceDetailName;
    }

    public void setEviceDetailName(String eviceDetailName) {
        this.eviceDetailName = eviceDetailName == null ? null : eviceDetailName.trim().replace(" ","");
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }
}